home *** CD-ROM | disk | FTP | other *** search
- package java.lang;
-
- public final class Class {
- private Class() {
- }
-
- public static native Class forName(String var0) throws ClassNotFoundException;
-
- public native Object newInstance() throws InstantiationException, IllegalAccessException;
-
- public native String getName();
-
- public native Class getSuperclass();
-
- public native Class[] getInterfaces();
-
- public native ClassLoader getClassLoader();
-
- public native boolean isInterface();
-
- public String toString() {
- return (this.isInterface() ? "interface " : "class ") + this.getName();
- }
- }
-